// 常量配置
export const BASE_URL = process.env.NODE_ENV === 'development'
  ? 'http://localhost:8000'
  : `${location.protocol}//${location.host}`

export const CELERY_FLOWER_URL = `${location.protocol}//${location.hostname}:5555`

export const DJANGO_ADMIN_URL = process.env.NODE_ENV === 'development'
  ? `${location.protocol}//${location.hostname}:8000/admin/`
  : `${location.protocol}//${location.host}/admin/`
